<include file="Public/sui_header" />
	<table class="sort-table">
		<tr>
			<td>
				<a 
					<if condition="$_GET['order'] eq '' OR $_GET['order'] eq 'id'">
					href="__ACTION__/order/id desc"
					class="sort-active" 
					> 默认<i class="fa fa-sort-numeric-asc"></i>
					<elseif condition="$_GET['order'] eq 'id desc'"/>
					href="__ACTION__/order/id"
					class="sort-active" 
					> 默认<i class="fa fa-sort-numeric-desc"></i> 
					<else/>
					href="__ACTION__/order/id"
					> 默认<i class="fa fa-sort-numeric-asc"></i>
					</if>
				</a>

			</td>
			<td>
				<a 
					<if condition="$_GET['order'] eq 'amount'">
					href="__ACTION__/order/amount desc"
					class="sort-active" 
					> 人气<i class="fa fa-sort-numeric-asc"></i>
					<elseif condition="$_GET['order'] eq 'amount desc'"/>
					href="__ACTION__/order/amount"
					class="sort-active" 
					> 人气<i class="fa fa-sort-numeric-desc"></i> 
					<else/>
					href="__ACTION__/order/amount"
					> 人气<i class="fa fa-sort-numeric-asc"></i>
					</if>
				</a>
			</td>
			<td>
				<a 
					<if condition="$_GET['order'] eq 'price'">
					href="__ACTION__/order/price desc"
					class="sort-active" 
					> 价格<i class="fa fa-sort-numeric-asc"></i>
					<elseif condition="$_GET['order'] eq 'price desc'"/>
					href="__ACTION__/order/price"
					class="sort-active" 
					> 价格<i class="fa fa-sort-numeric-desc"></i> 
					<else/>
					href="__ACTION__/order/price"
					> 价格<i class="fa fa-sort-numeric-asc"></i>
					</if>
				</a>
			</td>
			<td>
				<a 
					<if condition="$_GET['order'] eq 'star'">
					href="__ACTION__/order/star desc"
					class="sort-active" 
					> 星级<i class="fa fa-sort-numeric-asc"></i>
					<elseif condition="$_GET['order'] eq 'star desc'"/>
					href="__ACTION__/order/star"
					class="sort-active" 
					> 星级<i class="fa fa-sort-numeric-desc"></i> 
					<else/>
					href="__ACTION__/order/star"
					> 星级<i class="fa fa-sort-numeric-asc"></i>
					</if>
				</a>
			</td>
			<td>
				<a href="#" class="open-panel" data-panel='#select-panel-guider'>筛选</a>
				<i class="fa fa-reorder"></i>
			</td>
		</tr>
	</table>
	<volist name="list" id="vo">
	    <div class="card">
	        <div class="card-header">
	            <span class="icon icon-star"></span>
	            {$vo['name']} ({$vo['location']})
	        </div>
	        <div class="card-content">
	            <div class="card-content-inner">

	            	<div class="row">
				      <div class="col-20" style="width:30%">
	                    	<img class="list-img" src="__PUBLIC__/file/{$vo['photo']}" />
				      </div>
				      <div class="col-50" style="width:60%">
				      		院校：{$vo['college']}  <br/>	            
				      		星级：<for start="0" end="$vo['star']"><span class="fa fa-star"></span></for><for start="$vo['star']" end="5"><span class="fa fa-star-o"></span></for> <br/>
				      		人气：100 <br/>
				      		年龄：{$vo['age']}岁 <br/>
				      		价格：￥{$vo['price']}/天
				      </div>
				    </div>
	                <div class="list-desc">
	                    {$vo['special']}
	                </div>
	            </div>
	        </div>
	        <div class="card-footer">
	            <a href="tel:{$vo['username']}" class="button"><span class="icon icon-phone"></span> 联系TA</a>
	            <a href="{:U('Guider/detail', ['id'=>$vo['id']])}" class="button"><span class="icon icon-search"></span> 查看详情</a>
	        </div>
	    </div>
</volist>
{$page}
<include file="Public/sui_footer" />